<template>
  <div id="root">
    <h1>实现消息发布与订阅</h1>
    <School/>
    <Student/>
   </div>
</template>

<script>
import School from "./components/School"     //问题描述：在通过inport导入组件时 要么全部文件带.vue后缀，要么全部不要.vue后缀，可能导致css样式丢失
import Student from "./components/Student";
//汇总组件
export default {
   name:"App",
   components:{
    School,
    Student
   }
}
</script>

<style>

</style>

